﻿namespace EFS.RC.Survey.Controls.Common.Pages
{
	public class Page : System.Windows.Controls.Page
	{
		/// Shows an error message
		public void ShowErrorMessage(System.String error)
		{
			EFS.RC.Survey.Controls.Common.Functions.ShowErrorMessage(error);
		}

		/// Shows an error message
		public void ShowErrorMessage(
			System.String customError,
			System.Exception ex)
		{
			EFS.RC.Survey.Controls.Common.Functions.ShowErrorMessage(customError, ex);
		}

		public void ShowSuccessMessage(System.String message)
		{
			EFS.RC.Survey.Controls.Common.Functions.ShowSuccessMessage(message);
		}
	}

}